package day05;

public class WhileDemo04 {
    public static void main(String[] args) {
        System.out.println("for 之前");
        for (int i = 1; i <= 10; i++) {
            if (i  == 6) {
                System.out.println(i+"====");
                //break;
                continue;// 跳过此次循环，继续下一次循环
            }
            System.out.println(i);
        }
        System.out.println("for 之后");

        for (int i = 1; i <= 9; i++) {
            if (i%3 !=0) {
                continue;
            }
            System.out.println(i+"*"+9+"="+i*9);
        }

    }
}
